home *** CD-ROM | disk | FTP | other *** search
/ Business Heaven / Business Heaven.iso / members / rand / randin.hlp < prev    next >
Text File  |  1993-09-05  |  15KB  |  337 lines

  1. RandIN
  2. (C) 1993 Fast Entry Programming
  3.  
  4. To keep RAND2 honest, you should really use its companion
  5. product, RandIN. It is designed to be a self check-in routine. Once
  6. started, the only way out is to enter a pre-assigned password. RandIN
  7. generates a welcoming screen that invites members to enter their member
  8. numbers... once it receives what it considers a valid number, it:
  9.  
  10.   1. Looks in the register file GOODNUMS.LST to see if the member has
  11.      already registered. If the file doesn't exist, it will be created.
  12.      If RandIN finds the Member's number, it will tell them so. If not
  13.      RandIN then
  14.  
  15.   2. Looks for the file GOODMEMS.LST. If it can't find the file,
  16.      it will exit and complain. If it is there, RandIN will search the
  17.      standard text file to locate the number that it was given. Since
  18.      all numbers in this group assume a four digit number, it will pad
  19.      any number less than 1000 with leading zeros before it checks.
  20.      (All numbers in GOODMEMS.LST need to be right justified to 4
  21.      digits; they will have leading Zeros replace any spaces found.)
  22.      If the number isn't found, A list of Expired members will be
  23.      checked. (If the file isn't there, it will be created.) If found in
  24.      OLDMEMS.LST, the user is informed that they are no longer a member in
  25.      good standing (and therefore must go register.)
  26.  
  27.      NEW in version 5.5: The system now allows for the registration of
  28.      expired members. When found in OldMems.LST, the computer prompts
  29.      for a password. Once the correct one is given, the computer allows
  30.      for registration. For Security reasons, How this password is calculated
  31.       (it's different for each member) is only available in the
  32.      registered Version.
  33.  
  34.   3. If the member number has gotten this far, the battle is not over;
  35.      some clubs, in the interest of fairness, exclude previous winners
  36.      from drawings for a time. In this spirit, RandIN checks the
  37.      UsedNums.LST file for previous winners and won't allow a winner to
  38.      re-register. It simply reminds them that they just won!
  39.  
  40.   4. Only after ALL the above criteria have been met, does RandIN thank
  41.      the member (by name) for registering.  It then adds their name and
  42.      number to the GoodNums.LST that will be used by RAND or RAND2.
  43.  
  44.      NEW in Version 5.5: RandIN can also generate a mailmerge file to be
  45.      used in creating name badges. If it finds the File BADGNUM.@HDR, the
  46.      first line is used to decide what kind of merge file is wanted. If
  47.      the File @BADGNUM.LST does not exist, it will be created using the
  48.      info in the .HDR file. See BADGES below for more info.
  49.  
  50.  
  51. Because RandIN was designed to allow unattended sign in of existing
  52. members, there needs to be a way to prevent un-authorized access to the
  53. LST files. Since GoodMems.LST is accessed in a read only fashion, it is
  54. perfectly all right to write protect that file. (ATTRIB +r GoodMems.Lst)
  55. In addition, the only way out of the program is to enter a password
  56. instead of a number.
  57.  
  58. >>>>>> The shareware password is ENDS (not case sensitive). <<<<<<
  59. >>>>>> The confirming password is XDIS                      <<<<<<
  60.  
  61. Registered versions can ask for a specific password or have one
  62. assigned. If RandIN is placed in the Autoexec file with only a ChrDir
  63. command in front of it, even a power down won't allow access to the DOS
  64. prompt.
  65.  
  66. As an added bonus, a list of the meeting attendees is generated by the
  67. members at each meeting!
  68.  
  69. ┌─────────────────────┐
  70. │BADGES AND MAIL MERGE│
  71. └─────────────────────┘
  72. One of the new enhancements to Version 5.5 of RandIN is the ability to
  73. create a list of members who need name badges.. Actually RandIN goes one
  74. further in that is can create a user definable mail merge file. Since It
  75. was never my intention to re-invent the wheel, (there are a LOT of label
  76. making software out there) I opted to allow RandIN to build a merge
  77. file in such a way that the output would be very flexable. Included with
  78. this package are example header files for Corel Draw (Corel10.hdr) and
  79. WordStar (Wstar.HDR). Those of you who actually register, will also get
  80. a sample Corel Draw 3.0 file that puts ten name tags on each sheet.
  81.  
  82. RandIN also comes with a header file for Ben's Printing press, a program
  83. that can be used to create custom Member cards using scalable typefaces.
  84.  
  85. ┌────────────────────┐
  86. │THE .HDR FILE FORMAT│
  87. └────────────────────┘
  88. In looking at most of the various mail merge formats around over 90% of
  89. them can be handled by correctly answering three Questions.
  90.  
  91.     1. What Character or series Of Characters is used to separate the
  92.        fields.
  93.  
  94.     2. Does the first field begin with the separator series of
  95.        characters.
  96.  
  97.     3. Do individual records each start on a different line or does each
  98.        field belong on a line by itself.
  99.  
  100. lets build a few examples:
  101.   WordStar or Comma Delimited ASCII:
  102.   Looks like:
  103.  
  104.     "First Filed","Second Thing","Another thing"
  105.  
  106. In this instance, 1:","
  107.                   2:Yes
  108.                   3:One Per Line is true
  109.  
  110. To explain this to RandIN, The first line of BadgNums.HDR looks like
  111.  
  112. ;",";True = Leading Delim;True = One Line Per Rec;
  113.  
  114. Now let's see what we just said. The very first character on the line
  115. is interpreted as the field separator. This tells RandIN to absorb whatever
  116. it finds after this until it finds the character again, as the answer to
  117. the first question. In other words whatever characters (up to four) that
  118. it finds until it reaches the next field separator (; in this case) are
  119. supposed to be the answer to the first question.
  120.  
  121. As an aside, Whatever character you use  as the separator can't appear
  122. anywhere else in the answers. In other words if your fields need to be
  123. separated by ;  (IE: Answer1;Anser2;Answer3;) You need to use some other
  124. character as your separator. For the above, I would use a '/' or '|'.
  125.  
  126. Actually for the second and third answers above, RandIN only actually
  127. checks the letter immediately following the separator. If the letter is
  128. not a 'T' the answer is considered False.
  129.  
  130. Realize that the first line of the .HDR file is never written to the
  131. actual merge file. On the other hand, whatever is on lines 2 to the end
  132. of the file are considered the header for the Merge file.
  133.  
  134. In some Merge situations, (for instance a Corel Merge file or Ben's
  135. Printing Press) the receiving database has a rather lengthy Header area.
  136.  
  137. If the File BADGNUM.LST does not exist, it will be created by copying the
  138. rest of the BADGNUM.HDR file (lines two to the end) to the beginning of
  139. the list file. By way of example, let's look at a Ben's merge file.
  140.  
  141. ==========================================================
  142. 1:   title=MAILING LABELS LIST
  143. 2:   filetype=c               list file
  144. 3:   alpha-col-hdr=LINE 1 - NAME
  145. 4:   alpha-col-hdr=LINE 2 - MEMB#
  146. 5:   alpha-col-hdr=LINE 3 - EXPDATE
  147. 6:   end-of-headers=     FILE LAST SAVED = 02-15-1993   TIME = 22:55:29
  148. 7:   Lester Lougue\1020\09-01-93\
  149. 8:   Alfred LaPoint\1224\04-30-95\
  150. 9:   Darell Ford\222\01-31-94\
  151. 0:   Albert Tando\276\06-30-93\
  152. ==========================================================
  153.  
  154. In this case lines 1 to 6 are part of the header and lines 7 to the
  155. end are the actual data. In this case, the BADGNUM.HDR looks like
  156.  
  157. ==========================================================
  158. ;\;False = Leading Delim;True = One Line Per Rec; BEN'S PRESS MERGE
  159. title=MAILING LABELS LIST
  160. filetype=c               list file
  161. alpha-col-hdr=LINE 1 - NAME
  162. alpha-col-hdr=LINE 2 - MEMB#
  163. alpha-col-hdr=LINE 3 - EXPDATE
  164. end-of-headers=     FILE LAST SAVED = 02-15-1993   TIME = 22:55:29
  165. ==========================================================
  166.  
  167. FILES AND USE
  168.  
  169. RANDIN.EXE              The main Check in program
  170.  
  171. TITLE.EXE               Title and display routine for RandIN, Rand &
  172.                         Rand2. (Required)
  173.  
  174. GOODMEMS.LST            List of Members in good standing.
  175.                         Required; Text file, See format below
  176.  
  177. OLDMEMS.LST             List of Members who's membership has
  178.                         recently expired. They will need a password
  179.                         to check in. If not found, an empty one will
  180.                         be created.
  181.  
  182. GOODNUMS.LST            List of members who have checked in.
  183.                         This is created by RandIN and used by Rand &
  184.                         Rand2 to generate winners.
  185.  
  186. USEDNUMS.LST            List of Previous winners and what they won.
  187.                         If not found, an empty one will be created.
  188.  
  189. BADGNUMS.LST            List of People needing name tags. If the
  190.                         file BADGNUMS.HDR does NOT exist This file
  191.                         will be ignored. If the .HDR file does
  192.                         exist and .LST does not, it will be created.
  193.  
  194. BADGNUMS.HDR            The header file for the Name Tag file. If it
  195.                         is not there, all of the Badge checking and
  196.                         creating routines will be ignored.
  197.  
  198. GUESTS.LST              Created by RandIN, it is in a format similar
  199.                         to GOODNUMS and could be renamed and used
  200.                         with RAND or RAND2 to generate A list of
  201.                         Winners.
  202.  
  203. NXTGUEST.LST            Contains the number of the last guest that
  204.                         registered. If it doesn't exist, it will be
  205.                         created and set to 1. Guests are assigned a
  206.                         number to allow it's use by RAND and RAND2
  207.  
  208.  
  209. All of the .LST files used by RandIN and Rand2 are simple text file
  210. which can be maintained by any text editor. They are arranged in
  211. simple columns and could be referred to as space Delimited. The
  212. starting position of each piece of information is important and
  213. outlined below.
  214.  
  215. GOODMEMS.LST
  216. OLDMEMS.LST
  217. GOODNUMS.LST
  218. GUESTS.LST
  219.  
  220. These are the working Lists and are mostly the same layout.
  221.  
  222. =================================================
  223. ALL VALID NUMBERS V5.5
  224.    1 Bob Jauch                     S 12/31/93
  225.    2 Gary Shurman                  B 12/31/93
  226.    3 Mack Williams                   12/31/93
  227.    4 Harris Segal                  RR12/31/93
  228.    5 John Mc Namara                  12/31/93
  229. =================================================
  230.  
  231. The first line of each file Contains a title in all caps. The title
  232. can contain whatever makes you happy but must begin with the word
  233.  
  234.     ALL
  235.  
  236. This is used to be sure that we have grabbed a proper file. As
  237. features are added other requirements may be added to this line.
  238.  
  239. ┌───────────┐
  240. │COLS 1 to 4│
  241. └───────────┘
  242. This contains the Member or Guest number. Numbers are right
  243. justified and will have leading 0's in all of the output files to
  244. make the number exactly 4 characters long.
  245.  
  246. ┌────────┐
  247. │COL 5   │
  248. └────────┘
  249. This should always contain a space (for readability)
  250.  
  251. ┌─────────────────────────────────────────────┐
  252. │COL 6 to 35    MEMBER NAME    (29 characters)│
  253. └─────────────────────────────────────────────┘
  254. Contains the member Name. It can contain first, middle and last
  255. names as well as salutations. The badge inquiry routine will attempt
  256. to strip extra wording (salutations such as Mr. and Middle initials)
  257. when it builds the badge merge file...
  258.  
  259. ┌────────────────────────┐
  260. │COL 36        NEED NAME TAG│
  261. └────────────────────────┘
  262. If this contiains any letter other than "N" or space, RandIN will ask
  263. if the user would like a name tag. This has been built so that Other
  264. letters such as R for regular S for Student or B for board member
  265. can be placed there to track what kind of badge was given out.
  266.  
  267. If a member says that he doesn't need a badge, that fact will be
  268. listed in the badge merge file as "Has Badge" in place of the name.
  269.  
  270. ┌────────────────────┐
  271. │COL 37         TAG READY│
  272. └────────────────────┘
  273. If this column MATCHES column 36 it is a signal that a requested
  274. badge is ready. When the member checks in, he will be told that his
  275. badge is ready. Eventually I may build a routine to allow networked
  276. stations to access this file and change the setting. Meanwhile I
  277. suggest that members sign out the badge and this COLUMN be
  278. maintained separately.
  279.  
  280. ┌──────────────────────────────┐
  281. │COL 38 to 48    EXPIRATION DATE│
  282. └──────────────────────────────┘
  283. This is one of the fields that will output to the Badge merge file.
  284. It will always export as the third field. At present, this is all
  285. that goes but it could actually contain anything. Remember, RandIN
  286. decides on when a membership has lapsed by which file (GOODMEMS or
  287. OLDMEMS) it finds the member number in.
  288.  
  289.  
  290. At present, anything after column 48 is treated as comments...
  291. Realize however that no line should be longer than 255 characters and
  292. that the name search speed is directly related to the size of the
  293. files.
  294.  
  295. ┌───────────┐
  296. │OTHER NOTES│
  297. └───────────┘
  298. Most of the display routines can be sped up by pressing the space
  299. bar. In addition, The registered version automatically eliminates
  300. many of the pauses while the shareware notice is being displayed.
  301.  
  302. Typing the word NAME when the system is asking for a number, will
  303. allow the user to locate their member number by entering the first
  304. few letters of their first or last name.
  305.  
  306. For Security reasons, the method of allowing expired members to
  307. register after giving a password, is only explained in the
  308. registered version. Suffice it to say that EACH member will need to
  309. use a different password and the method of determining it is can be
  310. different in each registered version.
  311.  
  312. While designed to create suspense, there are times when you
  313. really want one of the programs to "hurry up". Most of the
  314. display and noisemaking routines are interruptable. If you press
  315. the spacebar during a screen pop-up, the pop-up will rapidly
  316. complete and allow you to enter the next operation almost
  317. instantly. This is especially true when there is a count occuring
  318. at the bottom of the screen.
  319.  
  320. RandIN, Rand, Rand2, and Title are copyrighted Shareware and the
  321. intelectual property of
  322.  
  323. Walter Killeen
  324. Fast Entry Programming
  325. 210 S. Lopez St.
  326. New Orleans, LA. 70119
  327.  
  328. Phone  (504)827-5989
  329. Fax    (504)827-5989
  330. CIS ID 71511,35
  331. Fido   1:396/17.22
  332.  
  333. Registration is NOT optional. If you use it you should pay for it.
  334. As a guideline, if a meeting group uses this program more than
  335. three times they should register.
  336.  
  337.